
namespace JTZY.Model.Visit
{
    /// <summary>
    /// 用户访问记录
    /// </summary>
    [SugarTable("uservisit")]
    public class Uservisit
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 访问用户ID 
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 访问时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 所属代理 
        /// </summary>
        public long ParentId { get; set; }

        /// <summary>
        /// Ip 
        /// </summary>
        public string Ip { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int HasBuy { get; set; }
    }
}